package com.fifth.home.feign;

import com.fifth.common.pojo.entity.ZoneBusiness;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @ProjectName: mrcai
 * @Package: com.fifth.home.feign
 * @ClassName: SearchFeign
 * @Author: 王振华
 * @Description:
 * @Date: 2022/9/17 10:22
 * @Version: 1.0
 */
@FeignClient("mrcai-commodity")
public interface SearchFeign {
    @PostMapping("api/goods/findBusinessByGName/{name}")
    public List<ZoneBusiness> findBusinessByGName(@PathVariable String name);
}
